<!--{if $_G['gp_inajax']}-->
    <!--{template common/header_ajax}-->
    Bạn đã tải dữ liệu bằng ajax {eval echo rand()}
    <script type="text/javascript" reload="1">
    	window.alert("Load bằng Ajax thành công!");
    </script>
    <!--{template common/footer_ajax}-->
<!--{else}-->
    <!--{template common/header}-->
        <div style="padding:30px;">
            <a id="clickload" href="test.php?a=1" onClick="return clicka(this.href);">Click to load</a><br><br><br>
            <div id="loadcontent" style="font-size:18px">Hello World!</div>
        </div>
    <script type="text/javascript">
        function clicka(url){
            ajaxget(url, 'loadcontent', 'waitid');
			return false;
        }
    </script>
    <!--{template common/footer}-->
<!--{/if}-->